package com.lmiot.xyclick.Activity;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import com.lmiot.xyclick.App.MyApp;

public class BaseActivity extends AppCompatActivity {
    /* access modifiers changed from: protected */
    @Override // android.support.v7.app.AppCompatActivity, android.support.v4.app.SupportActivity, android.support.v4.app.FragmentActivity
    public void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        MyApp.getInstance().addActivity(this);
    }

    @Override // android.support.v4.app.FragmentActivity
    public void onResume() {
        super.onResume();
    }

    @Override // android.support.v4.app.FragmentActivity
    public void onPause() {
        super.onPause();
    }

    /* access modifiers changed from: protected */
    @Override // android.support.v7.app.AppCompatActivity, android.support.v4.app.FragmentActivity
    public void onDestroy() {
        MyApp.getInstance().removeActivity(this);
        super.onDestroy();
    }
}
